<%@page import="br.com.digidata.negocio.*"%>
<%@page import="br.com.digidata.modelo.*"%>
<%
    MedicoDAO dao = new MedicoDAO();
    Medico m = dao.getById(Integer.parseInt(request.getParameter("id")));    
%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<form method="POST" name="novoMedico" action="medicoEditDestino.jsp" id="formMedicoEdit">
    <label for="nome">Nome</label>
    <input type="text" id="nome" name="nome" value="<%=m.getNome()%>" class="text ui-widget-content ui-corner-all"/>
    <label for="cel">Celular</label>
    <input type="text" id="cel" name="cel" value="<%=m.getTelefoneCelular()%>" class="text ui-widget-content ui-corner-all"/>
    <label for="especialidade">Especialidade</label>
    <input type="text" id="especialidade" name="especialidade" value="<%=m.getEspecialidade()%>" class="text ui-widget-content ui-corner-all"/>
    <input type="hidden" name="medico_id" value="<%=m.getId()%>"/>
</form>
